﻿#ifndef PLAYERINFO_H
#define PLAYERINFO_H

#include <QWidget>
#include "card.h"

namespace Ui {
class PlayerInfo;
}

class PlayerInfo : public QWidget
{
    Q_OBJECT

public:
    explicit PlayerInfo(QWidget *parent = 0);
    ~PlayerInfo();
    void showLater();
    void initControl();

public slots:
    void setHumanLabel(Card::Group color);
    void setAiLabel(Card::Group color);
    void setSelfLabel(Card::Group color);
    void setRivalLabel(Card::Group color);

protected:
    void paintEvent(QPaintEvent *event);

private:
    Ui::PlayerInfo *ui;
};

#endif // PLAYERINFO_H
